package com.tuyan.aixiang.activity.fullplayer;

import com.tuyan.aixiang.model.YsDevice;

public interface FullPlayer {

    interface View {
        void toggleFullscreen(boolean full);

        /**
         * 播放器
         */
        void initPlayer();
        /**
         * 云台控制
         */
        void showPTZ();

        void showFullPTZ();

        /**
         * 对讲
         */
        void showVoice();

        void setQuilityResult(boolean hd);

        void setTalkModeEnable(boolean support);

        void setPTZEnable(boolean support);

    }

    interface Presenter {
        void init(YsDevice device);

        void setQuality(boolean hd);

        boolean isValidDevice();

        Integer getSupportTalkMode();
    }
}
